package com.bean.simple;

public class PersonDao {

	private PersonBean person;

	public PersonDao(){		
		System.out.println("PersonDao created!");
	}
	
	public void setPerson(PersonBean personBean){
		this.person = personBean;
	}
	
	public PersonBean getPerson(){
		return this.person;
	}
	
	
	public void info() {
		System.out.println("name:" + person.getName() + " age:" + person.getAge());
	}
}
